package pub.tbc.api.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import lombok.extern.slf4j.Slf4j;

/**
 * 检查是否需要认证，若需要，检查请求头中的token信息与token缓存，若不匹配，返回错误信息
 *
 * @author tbc on 2017/3/22 13:53:38.
 */
@Slf4j
public class AuthHandler  extends AbstractHttpInboundHandler {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest msg) throws Exception {

    }
}
